﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static Appliaction.Dto.Inv.othwrSelectDto;
using static Domain.Entitys.Inv.othoutordSelectDto;

namespace Domain.Entitys.Inv
{
    public class Trf_selectDto
    {
        public int Trf_id { get; set; }
        //调拨类型
        public string Trf_type { get; set; }
        //调拨日期
        public DateTime? Trf_startdate { get; set; }
        // 调拨单号
        public string Trf_code { get; set; }
        //出库仓库编码
        public string Warehouse_out_code { get; set; }
        //出库仓库名称
        public string Warehouse_out_name { get; set; }
        //入库仓库编码
        public string Warehouse_enter_code { get; set; }
        //入库仓库名称
        public string Warehouse_enter_name { get; set; }
      
        //申请人
        public string Trf_applicant { get; set; }

        public string trf_audit_status { get; set; }


        public string trf_audit_opinion { get; set; }
        // 明细字段（可选）
        public List<TrfDetailInfo> Details { get; set; }

        //明细
        public class TrfDetailInfo
        {
            public int? Trf_id { get; set; }

            public string Pro_name { get; set; }

            public string Pro_code { get; set; }

            public string Pro_brand { get; set; }

            public string Pro_model { get; set; }

            public string Unitmeas_id { get; set; }

            public decimal? Inventory_numder { get; set; }


            public decimal? Pro_cost_price { get; set; }

            public decimal? Pro_sale_price { get; set; }
        }
    }
}
